package com.itheima.health.dao;

import com.github.pagehelper.Page;
import com.itheima.health.pojo.CheckGroup;
import com.itheima.health.pojo.Order;
import com.itheima.health.pojo.Setmeal;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import sun.util.calendar.LocalGregorianCalendar;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @author zhangmeng
 * @description 检查组DAO
 * @date 2019/9/18
 **/
@Mapper
public interface ReportDao {

    Integer selectMemberCount(String time);

    List<Setmeal> findSetmealAll();

    Integer findSetmealCount(Integer id);

    List<Map<Integer, Integer>> findMaxSetmealIdAndCount();

    String  findSetmealById(Integer id);

    Double findSetmealAllCount();

    Integer getTodayNewMember(String today);
    Integer getThisMonthNewMember(String monthstart);
    Integer getThisWeekNewMember(String weekstart);
    Integer getTotalMember();

    Integer  getTodayVisitsNumber(String today);
    Integer  getTodayOrderNumber(String today);
    Integer  getThisMonthOrderNumber(String monthstart);
    Integer  getThisMonthVisitsNumber(String monthstart);
    Integer  getThisWeekVisitsNumber(String weekstart);
    Integer  getThisWeekOrderNumber(String weekstart);






}
